Friends\REST B

Total Complexity 90
Dependencies 11
Dependents 4
Total lines 757
Lines of code 598
Logical lines of code 228
Comment lines 73
Methods 18
Properties 1

Methods 18

Method Rating Maintainability Complexity Lines of code
rest_accept_friend_request()
A
42 10 59
permission_check_friend_request()
A
44 9 51
permssion_check_accept_friend_request()
A
45 9 44
check_remote_did_send_request()
A
47 9 36
discover_rest_url()
A
49 9 31
add_rest_routes()
A
35 1 135
notify_remote_friend_request_accepted()
S
47 6 35
rest_friend_post_deleted()
S
50 6 29
permission_check_friends_only()
S
51 6 27
rest_refresh_feed()
S
51 4 29
rest_friendship_requested()
S
52 4 27
rest_embed_friend_post()
S
54 4 20
notify_remote_friend_post_deleted()
S
54 3 22
rest_friend_request()
S
55 3 19
get_friends_rest_url()
S
66 4 8
rest_get_feeds()
S
59 1 16
__construct()
S
77 1 4
register_hooks()
S
69 1 6